/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package personadultbaby;

/**
 *
 * @author Ngocvan
 */
public class main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Adult anAdult;
        anAdult = new Adult("Thuanvd");
        anAdult.talk();
        anAdult.acceptMoney(100);
        
        System.out.println(anAdult.moneyTotal());
    }
}
